package com.hb.pojo.vo.role;
                            
import com.hb.pojo.vo.validated.GroupB;
import com.hb.pojo.vo.base.BasicModel;
import lombok.*;
import javax.validation.constraints.NotNull;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class RoleVo extends BasicModel {

    @NotNull(message = "id must",groups = {GroupB.class})
    @Schema(description = "", required = false, hidden = false)
    private Integer role_id;
        
    @Schema(description = "role", required = false, hidden = false)
    private String role;
        
    @Schema(description = "lastmodify", required = false, hidden = false)
    private Date lastmodify;
        
    @Schema(description = "create", required = false, hidden = false)
    private Date create_time;

}